import styles from "./index.module.scss"
import {useState} from "react";


export function PrInputLogin() {
    const [value, setValue] = useState('');

    return (
        <div className={styles.inputContainer}>
            <input
                required
                id="input"
                type="text"
                value={value}
                onChange={(e) => setValue(e.target.value)}
                className={styles.input}
            />
            <label className={styles.label} htmlFor="input">
                Name
            </label>
            <div className={styles.underline}></div>
        </div>
    );
}


export function PrInput02(props: any) {
    const {
        type = "text",
        placeholder = "",
        value = "",
        onChange,
    } = props
    return <input type={type} value={value} onChange={onChange} className={styles.inputBtn} placeholder={placeholder}/>
}
